//
//  RTJHomeHeaderView.h
//  RuiTaiJinProject
//
//  Created by jayson on 2018/11/27.
//  Copyright © 2018年 leewei. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HAutoScrollView.h"
NS_ASSUME_NONNULL_BEGIN


@protocol HomeHeaderViewDelegate <NSObject>

-(void)didSelectedAutoScrollView:(HAutoScrollView *)asView pageIndex:(NSInteger)pIndex;
-(void)didSelectedButtonActions:(UIButton *)sender;

@end

@interface RTJHomeHeaderView : UIView 


@property (nonatomic, strong) NSMutableArray *dataSource;
@property (nonatomic, weak) id <HomeHeaderViewDelegate> delegate;

+(instancetype)loadNib;

- (void)loadData:(NSMutableArray *)array noticelist:(NSArray *)noticelist HomeVC:(UIViewController *)HomeVC;


@end

NS_ASSUME_NONNULL_END
